package com.hfuu.service.user;

import com.hfuu.exceptions.ServiceExceptionSpec;
import com.hfuu.model.po.TbUser;
import com.hfuu.service.user.request.ManSysUserRequest;
import com.hfuu.service.user.request.OrginzerRequest;
import com.hfuu.service.user.request.UserLoginRequest;
import com.hfuu.service.user.request.UserRequest;
import com.hfuu.service.user.response.OrginzerResponse;
import com.hfuu.service.user.response.UserLoginResponse;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface OrginzerService {

    /**
     * 查询我的组织列表
     * @param request
     * @return
     * @throws ServiceExceptionSpec
     */
    List<OrginzerResponse> listMyOrgizer(OrginzerRequest request) throws ServiceExceptionSpec;

    /**
     * 加入组织
     * @param request
     * @return
     */
    Integer joinOrginzer(OrginzerRequest request) throws Exception;

    /**
     * 退出组织
     * @param request
     * @return
     */
    Integer outOrginzer(OrginzerRequest request) throws Exception;
}
